package init

import (
	"fmt"
	"log"

	"github.com/e421083458/golang_common/lib"
)

func init() {
	if err := lib.InitModule("./config/dev/", []string{"base", "mysql", "redis"}); err != nil {
		log.Fatal(err)
		fmt.Println("加载错误")
	}
	fmt.Println("执行加载初始化")
	// defer lib.Destroy()
	lib.Log.TagInfo(lib.NewTrace(), lib.DLTagUndefind, map[string]interface{}{"message": "todo sth"})
}
